package org.sys.vo;

import java.util.Date;

public class Authentication {
	
//	用户编号
	private String userId;
//	登录密码
	private String password;
//	登录IP
	private String loginIp;
//	登录时间
	private Date loginTime;
//	登出时间
	private Date leaveTime;
//	是否在线 0：是， 1：否
	private String isOnline;
	public static final String ONLINE_0 = "0";
	public static final String ONLINE_1 = "1";
//	密码失效天数
	private int passwdExpDays;
//	生效日期
	private Date effeDate;
//	失效日期
	private Date expDate;
//	创建人
	private String creater;
//	创建日期
	private Date createDate;
//	更新人
	private String updater;
//	更新日期
	private Date updateTime;
//	删除标志 0：是， 1：否
	private String flag;
	public static final String FLAG_0 = "0";
	public static final String FLAG_1 = "1";
	
	public Authentication() {
		this.flag = FLAG_1;
	}
	
	public String getUserId() {
		return userId;
	}
	
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getPassword() {
		return password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getLoginIp() {
		return loginIp;
	}
	
	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}
	
	public Date getLoginTime() {
		return loginTime;
	}
	
	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}
	
	public Date getLeaveTime() {
		return leaveTime;
	}
	
	public void setLeaveTime(Date leaveTime) {
		this.leaveTime = leaveTime;
	}
	
	public String getIsOnline() {
		return isOnline;
	}
	
	public void setIsOnline(String isOnline) {
		this.isOnline = isOnline;
	}
	
	public int getPasswdExpDays() {
		return passwdExpDays;
	}
	
	public void setPasswdExpDays(int passwdExpDays) {
		this.passwdExpDays = passwdExpDays;
	}
	
	public Date getEffeDate() {
		return effeDate;
	}
	
	public void setEffeDate(Date effeDate) {
		this.effeDate = effeDate;
	}
	
	public Date getExpDate() {
		return expDate;
	}
	
	public void setExpDate(Date expDate) {
		this.expDate = expDate;
	}
	
	public String getCreater() {
		return creater;
	}
	
	public void setCreater(String creater) {
		this.creater = creater;
	}
	
	public Date getCreateDate() {
		return createDate;
	}
	
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	public String getUpdater() {
		return updater;
	}
	
	public void setUpdater(String updater) {
		this.updater = updater;
	}
	
	public Date getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public String getFlag() {
		return flag;
	}
	
	public void setFlag(String flag) {
		this.flag = flag;
	}

}
